module Base
{

    model TatrapanApocalypto_Shovel
	{
		mesh = vehicles/TatrapanApocalypto|Axe,
		shader = basicEffect,
		scale = 0.01,      
	}

    model TatrapanApocalypto_Axe
	{
		mesh = vehicles/TatrapanApocalypto|Shovel,
        texture = Vehicles/Vehicles_Tatrapan_armor,
		shader = basicEffect,
		scale = 0.01,
	}

  model TatrapanApocalypto_Spare1
	{
		mesh = vehicles/TatrapanApocalypto|SpareTire1,
        texture = Vehicles/TatrapanTEXTURE,
		shader = basicEffect,
		scale = 0.01,
	}

  model TatrapanApocalypto_Spare2
	{
		mesh = vehicles/TatrapanApocalypto|SpareTire2,
        texture = Vehicles/TatrapanTEXTURE,
		shader = basicEffect,
		scale = 0.01,
	}

    template vehicle TatrapanApocalypto_accesories
    {
        template = ATA2Visual/part/ATA2VisualSpoilerRear,
        part ATA2VisualSpoilerRear 
        {

           area = TireRearRight,
            
            model Default
            {
                file = TatrapanApocalypto_Axe,
            }
        }

        template = ATA2Visual/part/ATA2VisualSkirtsSide,
        part ATA2VisualSkirtsSide
        {
            area = TireRearLeft,


            model Default
            {
                file = TatrapanApocalypto_Shovel,
            }
        }

        template = ATA2Visual/part/ATA2VisualSnorkel,
        part ATA2VisualSnorkel
        {
            area = TireRearLeft,


            model Default
            {
                file = TatrapanApocalypto_Spare1,
            }
        }

        template = ATA2Visual/part/ATA2VisualWires,
        part ATA2VisualWires
        {
            area = TireRearLeft,


            model Default
            {
                file = TatrapanApocalypto_Spare2,
            }
        }
        part ATAVisual*
        {
            category = tuning,
            specificItem = false,
            itemType = Base.LightBulb,
            mechanicRequireKey = false,
            repairMechanic = false,

            table install
            {
                test = ATATuning.InstallTest.multiRequire,
                complete = ATATuning.InstallComplete.DefaultModel,
            }

            table uninstall
            {
                test = ATATuning.UninstallTest.multiRequire,
                complete = ATATuning.UninstallComplete.DefaultModel,
            }

            lua
            {
                create = ATATuning.Create.Chance15,
                init = ATATuning.Init.Default,
            }
        }
    }
}